<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
    <title>PHPXRef 0.7 : OpenSSO PHP Library 1.5.1 : /trigger.php source</title>
    <link rel="stylesheet" href="sample.css" type="text/css">
    <link rel="stylesheet" href="sample-print.css" type="text/css" media="print">
    <style id="hilight" type="text/css"></style>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
<body bgcolor="#ffffff" text="#000000" link="#801800" vlink="#300540" alink="#ffffff">
<table class="pagetitle" width="100%">
	<tr>
        <td valign="top" class="pagetitle">
            [ <a href="index.html">Index</a> ]
        </td>
        <td align="right" class="pagetitle">
		    <h2 style="margin-bottom: 0px">PHP Cross Reference of OpenSSO PHP Library 1.5.1</h2>
	    </td>
    </tr>
</table>


<!-- Generated by PHPXref 0.7 at Fri Jan  8 00:38:44 2010 -->
<!-- PHPXref (c) 2000-2007 Gareth Watts - gareth@omnipotent.net -->
<!-- http://phpxref.sourceforge.net/ -->

<script src="phpxref.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
ext='.html';
relbase='';
subdir='';
filename='trigger.php.source.html';
cookiekey='opensso-phplib_1.5';
handleNavFrame(relbase, subdir, filename);

// -->
</script>
<script language="JavaScript" type="text/javascript">
if (gwGetCookie('xrefnav')=='off')
  document.write('<p class="navlinks">[ <a href="javascript:navOn()">Show Explorer<\/a> ]<\/p>');
else
  document.write('<p class="navlinks">[ <a href="javascript:navOff()">Hide Explorer<\/a> ]<\/p>');
</script>
<noscript>
<p class="navlinks">
[ <a href="nav.html" target="_top">Show Explorer</a> ]
[ <a href="index.html" target="_top">Hide Navbar</a> ]
</p>
</noscript>
<script language="JavaScript" type="text/javascript">
<!--

document.writeln('<table align="right" class="searchbox-link"><tr><td><a class="searchbox-link" href="javascript:void(0)" onMouseOver="showSearchBox()">Search</a><br>');
document.writeln('<table border="0" cellspacing="0" cellpadding="0" class="searchbox" id="searchbox">');
document.writeln('<tr><td class="searchbox-title">');
document.writeln('<a class="searchbox-title" href="javascript:showSearchPopup()">Search History +</a>');
document.writeln('<\/td><\/tr>');

document.writeln('<tr><td class="searchbox-body" id="searchbox-body">');
document.writeln('<form name="search" style="margin:0px; padding:0px" onSubmit=\'return jump()\'>');
document.writeln('<a class="searchbox-body" href="_classes/index.html">Class<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="classname"><br>');
document.writeln('<a id="funcsearchlink" class="searchbox-body" href="_functions/index.html">Function<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="funcname"><br>');
document.writeln('<a class="searchbox-body" href="_variables/index.html">Variable<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="varname"><br>');
document.writeln('<a class="searchbox-body" href="_constants/index.html">Constant<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="constname"><br>');
document.writeln('<a class="searchbox-body" href="_tables/index.html">Table<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="tablename"><br>');
document.writeln('<input type="submit" class="searchbox-button" value="Search">');
document.writeln('<\/form>');
document.writeln('<\/td><\/tr><\/table>');
document.writeln('<\/td><\/tr><\/table>');
// -->
</script>
<div id="search-popup" class="searchpopup"><p id="searchpopup-title" class="searchpopup-title">title</p><div id="searchpopup-body" class="searchpopup-body">Body</div><p class="searchpopup-close"><a href="javascript:gwCloseActive()">[close]</a></p></div>
<h2 class="listing-heading"><a href="./index.html">/</a> -> <a href="trigger.php.html">trigger.php</a> (source)</h2>
<div class="listing">
<p class="viewlinks">[<a href="trigger.php.html">Summary view</a>]
[<a href="javascript:window.print();">Print</a>]
[<a href="trigger.php.source.txt" target="_new">Text view</a>]
</p>
<pre>
<a name="l1"><span class="linenum">   1</span></a>  &lt;?php
<a name="l2"><span class="linenum">   2</span></a>  <span class="comment">/**</span>
<a name="l3"><span class="linenum">   3</span></a>  <span class="comment"> * Default trigger for OpenSSO PHP library.</span>
<a name="l4"><span class="linenum">   4</span></a>  <span class="comment"> * </span>
<a name="l5"><span class="linenum">   5</span></a>  <span class="comment"> * This is an example how to use the API's trigger function.</span>
<a name="l6"><span class="linenum">   6</span></a>  <span class="comment"> * If you don't modificate the config file's trigger parameter you can use this file as a trigger.</span>
<a name="l7"><span class="linenum">   7</span></a>  <span class="comment"> * WARNING! You must contact with the application server's and the Identity Provider's webmaster to set the trigger.</span>
<a name="l8"><span class="linenum">   8</span></a>  <span class="comment"> * </span>
<a name="l9"><span class="linenum">   9</span></a>  <span class="comment"> * @category   OpenSSO_PHP</span>
<a name="l10"><span class="linenum">  10</span></a>  <span class="comment"> * @package    OpenSSO_PHP </span>
<a name="l11"><span class="linenum">  11</span></a>  <span class="comment"> * @link       http://kir-dev.sch.bme.hu/opensso-phplib/</span>
<a name="l12"><span class="linenum">  12</span></a>  <span class="comment"> * @author     Pásztor Gergő &lt;pairghu@gmail.com&gt; from KirDev &lt;kir-dev@sch.bme.hu&gt;</span>
<a name="l13"><span class="linenum">  13</span></a>  <span class="comment"> * @copyright  Copyright (c) 2009, KirDev</span>
<a name="l14"><span class="linenum">  14</span></a>  <span class="comment"> * @license    http://www.opensource.org/licenses/gpl-license.php GPL  </span>
<a name="l15"><span class="linenum">  15</span></a>  <span class="comment"> * @filesource</span>
<a name="l16"><span class="linenum">  16</span></a>  <span class="comment"> * </span>
<a name="l17"><span class="linenum">  17</span></a>  <span class="comment"> * @version 1.0.0 </span>
<a name="l18"><span class="linenum">  18</span></a>  <span class="comment"> */</span>
<a name="l19"><span class="linenum">  19</span></a>  
<a name="l20"><span class="linenum">  20</span></a>  <span class="keyword">require_once</span> <a class="filename" href="open-sso.class.php.html" onMouseOver="reqPopup(event, 'open-sso.class.php', 'open-sso.class.php')">('open-sso.class.php')</a>;
<a name="l21"><span class="linenum">  21</span></a>  <a class="var it1" onMouseOver="hilite(1)" onMouseOut="lolite()" onClick="logVariable('sso')" href="_variables/sso.html">$sso</a> = new openSSO;
<a name="l22"><span class="linenum">  22</span></a>  <a class="var it1" onMouseOver="hilite(1)" onMouseOut="lolite()" onClick="logVariable('sso')" href="_variables/sso.html">$sso</a>-&gt;<a class="function" onClick="logFunction('trigger')" href="_functions/trigger.html" onMouseOver="funcPopup(event,'trigger')">trigger</a>();
<a name="l23"><span class="linenum">  23</span></a>  
<a name="l24"><span class="linenum">  24</span></a>  ?&gt;
</pre>
</div>
<script language="JavaScript" type="text/javascript">
FUNC_DATA={
'trigger': ['trigger', 'Trigger. These function create a simple redirect to the login page. Use these function in your trigger page. In default you shouldn\'t use these function. But if you should put trigger to another page than the default (\'trigger.php\'), you can do this with this function. ', [['','open-sso.abstract.php',749],['','open-sso.interface.php',52]], 1]};
CLASS_DATA={
};
CONST_DATA={
};
</script>
<div id="func-popup" class="funcpopup"><p id="func-title" class="popup-title">title</p><p id="func-desc" class="popup-desc">Description</p><p id="func-body" class="popup-body">Body</p></div>
<div id="class-popup" class="funcpopup"><p id="class-title" class="popup-title">title</p><p id="class-desc" class="popup-desc">Description</p><p id="class-body" class="popup-body">Body</p></div>
<div id="const-popup" class="funcpopup"><p id="const-title" class="popup-title">title</p><p id="const-desc" class="popup-desc">Description</p><p id="const-body" class="popup-body">Body</p></div>
<div id="req-popup" class="funcpopup"><p id="req-title" class="popup-title">title</p><p id="req-body" class="popup-body">Body</p></div>
<!-- A link to the phpxref site in your customized footer file is appreciated ;-) -->
<br><hr>
<table width="100%">
	<tr><td>Generated: Fri Jan  8 00:38:44 2010</td>
	<td align="right"><i>Cross-referenced by <a href="http://phpxref.sourceforge.net/">PHPXref 0.7</a></i></td>
	</tr>
</table>
</body></html>
